.x6-color-picker {
  position: relative;
  padding: 3px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  display: inline-block;
  width: 100%;
}
.x6-color-picker-block {
  width: 100%;
  height: 18px;
  border-radius: 2px;
}
.x6-color-picker-panel {
  position: absolute;
  z-index: 2001;
  -webkit-transform-origin: center top;
          transform-origin: center top;
  padding: 6px;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  background-color: #FFF;
  border: 1px solid #EBEEF5;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}
.x6-color-picker-panel-left {
  left: 0;
}
.x6-color-picker-panel-right {
  right: 0;
}
.x6-color-picker-canvas {
  position: relative;
}
.x6-color-picker-canvas canvas {
  left: 0;
  top: 0;
}
.x6-color-picker-cur {
  width: 3px;
  height: 3px;
  outline: 2px solid #fff;
  margin-left: -1px;
  margin-top: -1px;
  position: absolute;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
          box-shadow: 0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0, 0, 0, 0.3), 0 0 1px 2px rgba(0, 0, 0, 0.4);
}
.x6-color-picker-bar, .x6-color-picker-alpha {
  background-color: #fff;
  position: absolute;
  cursor: pointer;
  border-radius: 1px;
  border: 1px solid #f0f0f0;
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}
.x6-color-picker-bar {
  width: 20px;
  height: 3px;
  left: 0;
  top: 0;
  margin-left: -1px;
  margin-top: -2px;
}
.x6-color-picker-alpha {
  width: 5px;
  height: 20px;
  left: 100%;
  top: 0;
  margin-left: -3px;
  margin-top: -1px;
}
.x6-color-picker-alpha-silder {
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 256px;
  margin-left: 30px;
  height: 18px;
  background: url();
}
.x6-color-picker-alpha-silder-bar {
  position: relative;
  background: -webkit-gradient(linear, left top, right top, from(rgba(255, 69, 0, 0)), to(orangered));
  background: linear-gradient(to right, rgba(255, 69, 0, 0) 0%, orangered 100%);
  height: 100%;
}
.x6-color-picker-control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 5px;
}
.x6-color-picker-input {
  background-color: #FFF;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #DCDFE6;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #606266;
  display: inline-block;
  outline: 0;
  padding: 0 15px;
  -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 160px;
  font-size: 12px;
  height: 28px;
  line-height: 28px;
}
.x6-color-picker-input:focus {
  border-color: #409EFF;
}
.x6-color-picker-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.x6-color-picker-btn-clear {
  font-size: 12px;
  color: #409EFF;
  cursor: pointer;
}
.x6-color-picker-btn-confirm {
  padding: 7px 15px;
  margin-left: 10px;
  font-size: 12px;
  border-radius: 3px;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  background: #FFF;
  border: 1px solid #DCDFE6;
  color: #606266;
  text-align: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  outline: 0;
  font-weight: 500;
}
.x6-color-picker-predefine {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 12px;
  margin-top: 8px;
  width: 280px;
}
.x6-color-picker-predefine__colors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0%;
          flex: 1 1 0%;
}
.x6-color-picker-predefine__color-selector:nth-child(10n+1) {
  margin-left: 0px;
}
.x6-color-picker-predefine__color-selector {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin: 0px 0px 8px 8px;
  border-radius: 4px;
}
.x6-color-picker-predefine__color-selector > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  border-radius: 3px;
}